From b223df166107d8fd3142b929971649f5a3a5aba7 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Thu, 26 Feb 2015 20:16:23 +0530 Subject: [PATCH] Avoid shadowing babl variable --- babl/babl-model.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/babl/babl-model.c b/babl/babl-model.c index b181ca2..91c57ee 100644 --- a/babl/babl-model.c +++ b/babl/babl-model.c @@ -113,12 +113,12 @@ babl_model_new (void *first_argument, { if (BABL_IS_BABL (arg)) { - Babl *babl = (Babl *) arg; + Babl *bablc = (Babl *) arg; - switch (babl->class_type) + switch (bablc->class_type) { case BABL_COMPONENT: - component [components] = (BablComponent *) babl; + component [components] = (BablComponent *) bablc; components++; if (components >= BABL_MAX_COMPONENTS) @@ -150,7 +150,7 @@ babl_model_new (void *first_argument, case BABL_FISH_PATH: case BABL_IMAGE: case BABL_EXTENSION: - babl_log ("%s unexpected", babl_class_name (babl->class_type)); + babl_log ("%s unexpected", babl_class_name (bablc->class_type)); break; case BABL_SKY: /* shut up compiler */ -- 2.30.2